package gijoe.service;

import gijoe.dto.AbroadDto;
import gijoe.dto.ApplicationDto;
import gijoe.dto.AwdDto;
import gijoe.dto.BoardNoticeDto;
import gijoe.dto.BoardRecruitDto;
import gijoe.dto.CareerDto;
import gijoe.dto.CertiDto;
import gijoe.dto.ClubDto;
import gijoe.dto.CommcdDto;
import gijoe.dto.HopeDto;
import gijoe.dto.InfoDto;
import gijoe.dto.IntroDto;
import gijoe.dto.LangDto;
import gijoe.dto.ParttimeDto;
import gijoe.dto.SubmitDto;

import java.util.List;
import java.util.Map;

public interface UserService {
	
	//main
	/*public List<BoardNoticeDto> noticeSelectAllMain();*/
	
	
	public List<BoardNoticeDto> noticeSelectAll(); 
	public BoardNoticeDto noticeSelectOne(String notice_num);
	
	//채용안내
	public List<BoardRecruitDto> recruitSelectAll();
	public List<BoardRecruitDto> recruitSelectAll(BoardRecruitDto dto);
	public BoardRecruitDto recruitSelectOne(String rcrt_num);
	public void recruitDelete(String rcrt_num,String app_nm,String email ,String app_pwd);
	public List<BoardRecruitDto> recruitList();
	
	
	public List<ApplicationDto>app_receiptSelectAll();//지원서접수
	public int applicainsert(ApplicationDto dto);//지원서접수 공고번호뿌리기
	
	
	public List<CommcdDto> userRecruitCdSelect();			//신입경력코드리스트
	public List<BoardRecruitDto> userRecruitSelectAll();	//채용공고리스트
	
	public Map<String, Object> userPassForm();
	
	public ApplicationDto userPassSearch(String rcrt_num, String recruit_cd, String app_nm, 
			String birth_yy, String birth_mm,String birth_dd, 
			String email_id, String email_addr, String app_pwd);
	
	public ApplicationDto Appidentify(ApplicationDto dto);//지원서접수페이지 지원접수 확인하기
  public  ApplicationDto  Emailoverlap(String email,String rcrt_num);//지원서접수 이메일중복확인
	
	//-------------------------------------------------------------------------------------
	//지원서 접수 시작---------------------------------------------------------------------------
	public int Infoinsert(InfoDto dto);//기본사항 페이지insert
	public int Schinsert(String app_num,String sch_cd,
			String sch_fr_ymm,String sch_to_ymm, String sch_ent_cd,String sch_nm,String sch_mjr_cd,
			String sch_mjr_nm,String sch_gra_cd,String sch_mark,String sch_fl_mark,String sch_grad_yn);//기본사항페이지 대학교 insert
	//--------------------------------------------------------------------------------------
	public int AbroadInsert(AbroadDto dto);//경력사항 해외연수 인서트
	public int Careerinser(CareerDto dto);//경력사항 경력부분 인서트
	public int Parttimeinsert(ParttimeDto dto);//경력 사항 아르바이트부분
	public int Clubinsert(ClubDto dto);//경력사항 동아리 인서트
	//--------------------------------------------------------------------------------------
	public int Awdinsert(AwdDto dto);//기타사항 수상경력insert
	public int Langinsert(LangDto dto);//기타사항 외국어insert
	public int Hopeinsert(HopeDto dto);//기타사항 해외근무 insert
	public int Certiinsert(CertiDto dto);//기타사항 자격면허 insert
	//--------------------------------------------------------------------------------------
	public ApplicationDto SelfSelect(String app_num);//기타사항 자기소개서제목 뿌리기
	public int Introinsert(IntroDto dto);//자기소개 insert
	//--------------------------------------------------------------------------------------
	public ApplicationDto Apprecruit_nm(String app_num);//최종제출페이지 채용명가져오기
	public int Submitinster(SubmitDto dto);//최종제출 insert
	public int Submitupdate(SubmitDto dto);//지원자 최종지원상태 변경 
}
